/*******************************************************************************
 * Copyright (c) 2013 Zero Square LLC.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Zero Square LLC. Version 1
 * which accompanies this distribution
 ******************************************************************************/
package com.zsqr.dashboard.dao;

import java.util.List;

import com.zsqr.dashboard.commons.dao.GenericDao;
import com.zsqr.dashboard.domain.UserCardEntity;



public interface UserCardDao extends GenericDao <UserCardEntity,Long>{
	
	/**
	 * Queries for username
	 * @param userName
	 * @return UserEntity
	 */
	List<UserCardEntity> loadCardsByUserName (String userName);
	
	UserCardEntity getCardByCardNumber(String cardNumber);
	
	//boolean deleteCardByNumber(String CardNumber);
	
}
